package com.scorpio.appuser.mapper;

import com.scorpio.common.dao.BaseDao;
import com.scorpio.appuser.domain.UserInvoiceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 发票信息Mapper接口
 *
 * @author scorpio
 * @date 2022-01-05
 */
@Mapper
public interface UserInvoiceMapper extends BaseDao<UserInvoiceEntity> {

    int countByUser(@Param("uid") Long uid);

    UserInvoiceEntity selectByUser(@Param("uid") Long uid);
}
